crypto: skcipher - Add missing API setkey checks
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 May 2017 19:48:23 +0000 (03:48 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 4 Jun 2017 02:03:01 +0000 (02:03 +0000)
commit913f6fb7e099c8a5b7c8384ac4d77d327ece0582
tree6a2cde747d906b987547e5ab57ef03c185b10415
parentfaadf9a87cdfe31a374d707e3fcfef62b56e092d
crypto: skcipher - Add missing API setkey checks

The API setkey checks for key sizes and alignment went AWOL during the
skcipher conversion.  This patch restores them.

Cc: <stable@vger.kernel.org>
Fixes: 4e6c3df4d729 ("crypto: skcipher - Add low-level skcipher...")
Reported-by: Baozeng <sploving1@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name crypto-skcipher-Add-missing-api-setkey-checks.patch
crypto/skcipher.c